package org.jeecg.modules.compilation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(description = "显示用户相关文件信息vo")
public class CiDocToNoteVO {

    /**文件编号*/
    @ApiModelProperty(value = "id")
    private String id;
    /**文件编号*/
    @ApiModelProperty(value = "文件编号")
    private String documentSn;
    /**文件标题*/
    @ApiModelProperty(value = "文件标题")
    private String documentTitle;
    /**发文字号*/
    @ApiModelProperty(value = "发文字号")
    private String documentIdentifier;
    /**公文类型编号*/
    @ApiModelProperty(value = "公文类型编号")
    private String documentTypeSn;
    /**公文类型名称*/
    @ApiModelProperty(value = "公文类型名称")
    private String documentTypeName;
    /**业务类型编号*/
    @ApiModelProperty(value = "业务类型编号")
    private String businessCategorySn;
    /**业务类型名称*/
    @ApiModelProperty(value = "业务类型名称")
    private String businessCategoryName;
    /**文件正文*/
    @ApiModelProperty(value = "文件正文")
    private String content;
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
    /**发布日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布日期")
    private Date publishedDate;
    /**废止日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "废止日期")
    private Date abolitionDate;
    /**html内容*/
    @ApiModelProperty(value = "html内容")
    private String htmlText;
    /**html样式*/
    @ApiModelProperty(value = "html样式")
    private String htmlStyle;

}
